<%@ page language="java" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@page import="java.util.*"%>
<%@page import="entitybean.oc_depthlist.EntityBeanOc_Depthlist"%>
<%@page import="entitybean.oc_property.EntityBean_Oc_Property"%>
<%@page import="entitybean.oc_boat.EntityBeanOc_Boat"%>
<%
	List<EntityBeanOc_Depthlist> oc_depthlist = (List<EntityBeanOc_Depthlist>) request
			.getAttribute("oc_depthlist");
	List<EntityBean_Oc_Property> oc_property = (List<EntityBean_Oc_Property>) request
			.getAttribute("oc_property");

	List<EntityBeanOc_Boat> oc_boatlist = (List<EntityBeanOc_Boat>) request
			.getAttribute("oc_boatlist");

%>
<head xmlns="http://www.w3.org/1999/xhtml">
	<link href="css/style.css" rel="stylesheet" type="text/css" />
	<script type=text/javascript src="js/jquery.js"></script>
	<script language="javascript">
	function reset_me()
		{
			location.reload();
			}
	function switch_function(id)
	{
		if(id==1)
		{
			switch_function_A();
			}
			else if(id==2)
			{
					switch_function_B();
				}
			else if(id==3)
			{
				switch_function_C();
				}
		}
function switch_function_A()
{
		init_page();
		function_type="A";
		document.getElementById("kekaoA").disabled=false;
		document.getElementById("kekaoB").disabled=false;
		document.getElementById("kekaoC").disabled=false;
		document.getElementById("kekaoD").disabled=false;
		document.getElementById("kekaoE").disabled=false;
		document.getElementById("kekaoF").disabled=false;
	
		document.getElementById("hangciA").disabled=false;
		document.getElementById("hangciB").disabled=false;
		document.getElementById("hangciC").disabled=false;
		document.getElementById("hangciD").disabled=false;
		document.getElementById("hangciE").disabled=false;
		document.getElementById("hangciF").disabled=false;
		
		document.getElementById("zhanweiA").disabled=false;
	
		document.getElementById("depA").disabled=false;
		document.getElementById("depB").disabled=false;
		document.getElementById("depC").disabled=false;
		document.getElementById("depD").disabled=false;
		document.getElementById("depE").disabled=false;
		document.getElementById("depF").disabled=false;
		
		document.getElementById("p_a").disabled=false;
		document.getElementById("p_b").disabled=false;
		document.getElementById("p_c").disabled=false;
		document.getElementById("p_d").disabled=false;
		document.getElementById("p_f").disabled=false;
		document.getElementById("p_e").disabled=false;
		
		document.getElementById("PTOOL_A").disabled=false;
		document.getElementById("PTOOL_B").disabled=false;
		document.getElementById("PTOOL_C").disabled=false;
		document.getElementById("PTOOL_D").disabled=false;
		document.getElementById("PTOOL_E").disabled=false;
		document.getElementById("PTOOL_F").disabled=false;
		
		document.getElementById("MIN_A").disabled=false;
		document.getElementById("MIN_B").disabled=false;
		document.getElementById("MIN_C").disabled=false;
		document.getElementById("MIN_D").disabled=false;
		document.getElementById("MIN_E").disabled=false;
		document.getElementById("MIN_F").disabled=false;
		
		document.getElementById("MAX_A").disabled=false;
		document.getElementById("MAX_B").disabled=false;
		document.getElementById("MAX_C").disabled=false;
		document.getElementById("MAX_D").disabled=false;
		document.getElementById("MAX_E").disabled=false;
		document.getElementById("MAX_F").disabled=false;
	
	
	}
function switch_function_B()
{
		init_page();
		function_type="B";
		document.getElementById("kekaoA").disabled=false;
		document.getElementById("kekaoB").disabled=false;
		document.getElementById("kekaoC").disabled=false;
		document.getElementById("kekaoD").disabled=false;
		document.getElementById("kekaoE").disabled=false;
		document.getElementById("kekaoF").disabled=false;
	
		document.getElementById("hangciA").disabled=false;
		document.getElementById("hangciB").disabled=false;
		document.getElementById("hangciC").disabled=false;
		document.getElementById("hangciD").disabled=false;
		document.getElementById("hangciE").disabled=false;
		document.getElementById("hangciF").disabled=false;
		
		document.getElementById("zhanweiG_A").disabled=false;
		document.getElementById("zhanweiG_B").disabled=false;
		document.getElementById("zhanweiG_C").disabled=false;
		document.getElementById("zhanweiG_D").disabled=false;
		document.getElementById("zhanweiG_E").disabled=false;
		document.getElementById("zhanweiG_F").disabled=false;
		
		document.getElementById("depA").disabled=false;
		
		
		document.getElementById("p_a").disabled=false;
		document.getElementById("p_b").disabled=false;
		document.getElementById("p_c").disabled=false;
		document.getElementById("p_d").disabled=false;
		document.getElementById("p_e").disabled=false;
		document.getElementById("p_f").disabled=false;
		
		document.getElementById("PTOOL_A").disabled=false;
		document.getElementById("PTOOL_B").disabled=false;
		document.getElementById("PTOOL_C").disabled=false;
		document.getElementById("PTOOL_D").disabled=false;
		document.getElementById("PTOOL_E").disabled=false;
		document.getElementById("PTOOL_F").disabled=false;
		
		document.getElementById("MIN_A").disabled=false;
		document.getElementById("MIN_B").disabled=false;
		document.getElementById("MIN_C").disabled=false;
		document.getElementById("MIN_D").disabled=false;
		document.getElementById("MIN_E").disabled=false;
		document.getElementById("MIN_F").disabled=false;
		
		document.getElementById("MAX_A").disabled=false;
		document.getElementById("MAX_B").disabled=false;
		document.getElementById("MAX_C").disabled=false;
		document.getElementById("MAX_D").disabled=false;
		document.getElementById("MAX_E").disabled=false;
		document.getElementById("MAX_F").disabled=false;
	}
function switch_function_C()
{
		init_page();
		function_type="C";
		document.getElementById("kekaoA").disabled=false;
		document.getElementById("kekaoB").disabled=false;
		document.getElementById("kekaoC").disabled=false;
		document.getElementById("kekaoD").disabled=false;
		document.getElementById("kekaoE").disabled=false;
		document.getElementById("kekaoF").disabled=false;
	
		document.getElementById("hangciA").disabled=false;
		document.getElementById("hangciB").disabled=false;
		document.getElementById("hangciC").disabled=false;
		document.getElementById("hangciD").disabled=false;
		document.getElementById("hangciE").disabled=false;
		document.getElementById("hangciF").disabled=false;
		
		document.getElementById("zhanweiG_A").disabled=false;
		document.getElementById("zhanweiG_B").disabled=false;
		document.getElementById("zhanweiG_C").disabled=false;
		document.getElementById("zhanweiG_D").disabled=false;
		document.getElementById("zhanweiG_E").disabled=false;
		document.getElementById("zhanweiG_F").disabled=false;
		
		document.getElementById("depA").disabled=false;
		document.getElementById("depB").disabled=false;
		document.getElementById("depC").disabled=false;
		document.getElementById("depD").disabled=false;
		document.getElementById("depE").disabled=false;
		document.getElementById("depF").disabled=false;
		
		
		document.getElementById("p_a").disabled=false;
		
		document.getElementById("PTOOL_A").disabled=false;
		document.getElementById("MIN_A").disabled=false;
		document.getElementById("MAX_A").disabled=false;
		
	}
function init_page()
	{
		document.getElementById("kekaoA").disabled=true;
		document.getElementById("kekaoB").disabled=true;
		document.getElementById("kekaoC").disabled=true;
		document.getElementById("kekaoD").disabled=true;
		document.getElementById("kekaoE").disabled=true;
		document.getElementById("kekaoF").disabled=true;
		document.getElementById("hangciA").disabled=true;
		document.getElementById("hangciB").disabled=true;
		document.getElementById("hangciC").disabled=true;
		document.getElementById("hangciD").disabled=true;
		document.getElementById("hangciE").disabled=true;
		document.getElementById("hangciF").disabled=true;
		document.getElementById("zhanweiA").disabled=true;
		document.getElementById("zhanweiB").disabled=true;
		document.getElementById("zhanweiC").disabled=true;
		document.getElementById("zhanweiD").disabled=true;
		document.getElementById("zhanweiE").disabled=true;
		document.getElementById("zhanweiF").disabled=true;
		document.getElementById("zhanweiG_A").disabled=true;
		document.getElementById("zhanweiG_B").disabled=true;
		document.getElementById("zhanweiG_C").disabled=true;
		document.getElementById("zhanweiG_D").disabled=true;
		document.getElementById("zhanweiG_E").disabled=true;
		document.getElementById("zhanweiG_F").disabled=true;
		document.getElementById("depA").disabled=true;
		document.getElementById("depB").disabled=true;
		document.getElementById("depC").disabled=true;
		document.getElementById("depD").disabled=true;
		document.getElementById("depE").disabled=true;
		document.getElementById("depF").disabled=true;
		document.getElementById("p_a").disabled=true;
		document.getElementById("p_b").disabled=true;
		document.getElementById("p_c").disabled=true;
		document.getElementById("p_d").disabled=true;
		document.getElementById("p_e").disabled=true;
		document.getElementById("p_f").disabled=true;
		document.getElementById("PTOOL_A").disabled=true;
		document.getElementById("PTOOL_B").disabled=true;
		document.getElementById("PTOOL_C").disabled=true;
		document.getElementById("PTOOL_D").disabled=true;
		document.getElementById("PTOOL_E").disabled=true;
		document.getElementById("PTOOL_F").disabled=true;
		document.getElementById("MIN_A").disabled=true;
		document.getElementById("MIN_B").disabled=true;
		document.getElementById("MIN_C").disabled=true;
		document.getElementById("MIN_D").disabled=true;
		document.getElementById("MIN_E").disabled=true;
		document.getElementById("MIN_F").disabled=true;
		document.getElementById("MAX_A").disabled=true;
		document.getElementById("MAX_B").disabled=true;
		document.getElementById("MAX_C").disabled=true;
		document.getElementById("MAX_D").disabled=true;
		document.getElementById("MAX_E").disabled=true;
		document.getElementById("MAX_F").disabled=true;
		}
	function load_voyage(kekao) {
	var id ;
	//window.alert("kekao-->"+kekao);
	if (kekao=="kekaoA")
	{
		id= document.getElementById("kekaoA").value;
		//window.alert("id-->"+id);
		if (id != -1||id!="") {
		voyage.Ajax_voyage_load(id, checkerA);
	} else {
		for (k = document.getElementById("hangciA").children.length - 1; k >= 0; k--) {
			//remove all
			document.getElementById("hangciA").removeChild(
					document.getElementById("hangciA").children(0));
		}
		var varItem = new Option("选择航次", "");
		document.getElementById("hangciA").add(varItem);
	}
		
		
		
	}
	else if (kekao=="kekaoB")
	{
		id= document.getElementById("kekaoB").value;
		//window.alert("id-->"+id);
		if (id != -1||id!="") {
		voyage.Ajax_voyage_load(id, checkerB);
	} else {
		for (k = document.getElementById("hangciB").children.length - 1; k >= 0; k--) {
			//remove all
			document.getElementById("hangciB").removeChild(
					document.getElementById("hangciB").children(0));
		}
		var varItem = new Option("选择航次", "");
		document.getElementById("hangciB").add(varItem);
	}
		
		
		
	}
		else if (kekao=="kekaoC")
	{
		id= document.getElementById("kekaoC").value;
		//window.alert("id-->"+id);
		if (id != -1||id!="") {

		voyage.Ajax_voyage_load(id, checkerC);
	} else {
		for (k = document.getElementById("hangciC").children.length - 1; k >= 0; k--) {
			//remove all
			document.getElementById("hangciC").removeChild(
					document.getElementById("hangciC").children(0));
		}
		var varItem = new Option("选择航次", "");
		document.getElementById("hangciC").add(varItem);
	}
	}
		else if (kekao=="kekaoD")
	{
		id= document.getElementById("kekaoD").value;
		//window.alert("id-->"+id);
		if (id != -1||id!="") {

		voyage.Ajax_voyage_load(id, checkerD);
	} else {
		for (k = document.getElementById("hangciD").children.length - 1; k >= 0; k--) {
			//remove all
			document.getElementById("hangciD").removeChild(
					document.getElementById("hangciD").children(0));
		}
		var varItem = new Option("选择航次", "");
		document.getElementById("hangciD").add(varItem);
	}
		
		
		
	}
		else if (kekao=="kekaoE")
	{
		id= document.getElementById("kekaoE").value;
		//window.alert("id-->"+id);
		if (id != -1||id!="") {

		voyage.Ajax_voyage_load(id, checkerE);
	} else {
		for (k = document.getElementById("hangciE").children.length - 1; k >= 0; k--) {
			//remove all
			document.getElementById("hangciE").removeChild(
					document.getElementById("hangciE").children(0));
		}
		var varItem = new Option("选择航次", "");
		document.getElementById("hangciE").add(varItem);
	}
	}
		else if (kekao=="kekaoF")
	{
		id= document.getElementById("kekaoF").value;
		//window.alert("id-->"+id);
		if (id != -1||id!="") {

		voyage.Ajax_voyage_load(id, checkerF);
	} else {
		for (k = document.getElementById("hangciF").children.length - 1; k >= 0; k--) {
			//remove all
			document.getElementById("hangciF").removeChild(
					document.getElementById("hangciF").children(0));
		}
		var varItem = new Option("选择航次", "");
		document.getElementById("hangciF").add(varItem);
	}
	}
	////window.alert(id);
	
}	
function checkerA(str) {
//window.alert("重新载入hangciA的数据");
	/*for (k = document.getElementById("hangciA").children.length - 1; k >= 0; k--) {
		//remove all
		document.getElementById("hangciA").removeChild(	document.getElementById("hangciA").children(0));	
	}
	var varItem = new Option("选择航次", -1);
	document.getElementById("hangciA").add(varItem);
	strword = str;
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		var varItem = new Option(val, key);
		document.getElementById("hangciA").add(varItem);
	}*/
	document.getElementById("hangciA").options.length=0; 
	document.getElementById("hangciA").options.add(new Option("请选择","-1"));	
	strword = str;
	//window.alert("str-->"+str);
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		
		document.getElementById("hangciA").options.add(new Option(val,key));	
		//document.getElementById("e3").add(varItem);
	}	
}	
function checkerB(str) {
	//window.alert("重新载入hangciB的数据");
	/*for (k = document.getElementById("hangciB").children.length - 1; k >= 0; k--) {
		//remove all
		document.getElementById("hangciB").removeChild(document.getElementById("hangciB").children(0));
	}
	var varItem = new Option("选择航次", -1);
	document.getElementById("hangciB").add(varItem);
	strword = str;
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		var varItem = new Option(val, key);
		document.getElementById("hangciB").add(varItem);
	}*/
	document.getElementById("hangciB").options.length=0; 
	document.getElementById("hangciB").options.add(new Option("请选择","-1"));	
	strword = str;
	//window.alert("str-->"+str);
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");		
		document.getElementById("hangciB").options.add(new Option(val,key));	
		}
}
function checkerC(str) {
/*	for (k = document.getElementById("hangciC").children.length - 1; k >= 0; k--) {
		//remove all
		document.getElementById("hangciC").removeChild(
				document.getElementById

				("hangciC").children(0));
	}
	var varItem = new Option("选择航次", -1);
	document.getElementById("hangciC").add(varItem);
	strword = str;
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		var varItem = new Option(val, key);
		document.getElementById("hangciC").add(varItem);
	}*/
	document.getElementById("hangciC").options.length=0; 
	document.getElementById("hangciC").options.add(new Option("请选择","-1"));	
	strword = str;
	//window.alert("str-->"+str);
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		
		document.getElementById("hangciC").options.add(new Option(val,key));	
}
}
function checkerD(str) {
	/*for (k = document.getElementById("hangciD").children.length - 1; k >= 0; k--) {
		//remove all
		document.getElementById("hangciD").removeChild(
				document.getElementById

				("hangciD").children(0));
	}
	var varItem = new Option("选择航次", -1);
	document.getElementById("hangciD").add(varItem);
	strword = str;
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		var varItem = new Option(val, key);
		document.getElementById("hangciD").add(varItem);
	}*/
	document.getElementById("hangciD").options.length=0; 
	document.getElementById("hangciD").options.add(new Option("请选择","-1"));	
	strword = str;
	//window.alert("str-->"+str);
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		
		document.getElementById("hangciD").options.add(new Option(val,key));	
}
}
function checkerE(str) {
	/*for (k = document.getElementById("hangciE").children.length - 1; k >= 0; k--) {
		//remove all
		document.getElementById("hangciE").removeChild(
				document.getElementById

				("hangciE").children(0));
	}
	var varItem = new Option("选择航次", -1);
	document.getElementById("hangciE").add(varItem);
	strword = str;
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		var varItem = new Option(val, key);
		document.getElementById("hangciE").add(varItem);
	}*/
	document.getElementById("hangciE").options.length=0; 
	document.getElementById("hangciE").options.add(new Option("请选择","-1"));	
	strword = str;
	//window.alert("str-->"+str);
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		
		document.getElementById("hangciE").options.add(new Option(val,key));	
}
}
function checkerF(str) {
	/*for (k = document.getElementById("hangciF").children.length - 1; k >= 0; k--) {
		//remove all
		document.getElementById("hangciF").removeChild(
				document.getElementById

				("hangciF").children(0));
	}
	var varItem = new Option("选择航次", -1);
	document.getElementById("hangciF").add(varItem);
	strword = str;
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		var varItem = new Option(val, key);
		document.getElementById("hangciF").add(varItem);
	}*/
	document.getElementById("hangciF").options.length=0; 
	document.getElementById("hangciF").options.add(new Option("请选择","-1"));	
	strword = str;
	//window.alert("str-->"+str);
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		document.getElementById("hangciF").options.add(new Option(val,key));	
}
}
function select_zhandian(id)
{
	//window.alert("id="+id);
	var hangci="";
	//判断站位的值
	if(id=="zhanweiG_A")
	{	
		hangci=document.getElementById("hangciA").value;
			if(hangci==""||hangci=="-1")
			{
				window.alert("请确认比较栏A中航次的选择内容，以便载入站位信息.");
				return false;
				}
		}
	if(id=="zhanweiG_C")
	{	
		hangci=document.getElementById("hangciC").value;
			if(hangci==""||hangci=="-1")
			{
				window.alert("请确认比较栏C中航次的选择内容，以便载入站位信息.");
				return false;
				}
		}
	if(id=="zhanweiG_B")
	{	
		hangci=document.getElementById("hangciB").value;
			if(hangci==""||hangci=="-1")
			{
				window.alert("请确认比较栏B中航次的选择内容，以便载入站位信息.");
				return false;
				}
		}
	if(id=="zhanweiG_D")
	{	
		hangci=document.getElementById("hangciD").value;
			if(hangci==""||hangci=="-1")
			{
				window.alert("请确认比较栏D中航次的选择内容，以便载入站位信息.");
				return false;
				}
		}
	if(id=="zhanweiG_E")
	{	
		hangci=document.getElementById("hangciE").value;
			if(hangci==""||hangci=="-1")
			{
				window.alert("请确认比较栏E中航次的选择内容，以便载入站位信息.");
				return false;
				}
		}
	if(id=="zhanweiG_F")
	{	
		hangci=document.getElementById("hangciF").value;
			if(hangci==""||hangci=="-1")
			{
				window.alert("请确认比较栏F中航次的选择内容，以便载入站位信息.");
				return false;
				}
		}
	
	
	var url="";
	 var url="<%=request.getContextPath()%>/select_zhandian.do?id="+id+"&hangci="+hangci+"&method=select_zhandian&v="+Math.random();
		 var obj=""; 
    	 var returnvalue= window.showModalDialog(url,obj,
	  	"dialogWidth=500px;dialogHeight=250px;toolbar=no;menubar=no;scrollbars=no;resizable=no;location=no;status=no");
		 //window.alert("returnvalue="+returnvalue);//拆分返回的变量
		 if(returnvalue!=undefined&&returnvalue!="")
		 {
			 returnvalue=returnvalue.substring(0,returnvalue.length-1);
			 //window.alert("returnvalue="+returnvalue);
	         if(id=="zhanweiG_A")
			 {
				 var aa = returnvalue.split(",");//切割逗号
					var h_zhandian="";//隐藏的站点
					var o_zhandian="";//暴露的站点
					for (var i=0;i<aa.length;i++)
					{
						var bb=aa[i].split(" ");
						h_zhandian=h_zhandian+bb[0]+",";
						o_zhandian=o_zhandian+bb[1]+",";
						}
					document.getElementById("h_zhanweiG_A").value=h_zhandian;
					document.getElementById("zhanweiG_A").value=o_zhandian;
				  //window.alert(h_zhandian);
				  //window.alert(o_zhandian);
				 //分割returnvalue
				 }
			if(id=="zhanweiG_B")
			{
				 var aa = returnvalue.split(",");//切割逗号
					var h_zhandian="";//隐藏的站点
					var o_zhandian="";//暴露的站点
					for (var i=0;i<aa.length;i++)
					{
						var bb=aa[i].split(" ");
						h_zhandian=h_zhandian+bb[0]+",";
						o_zhandian=o_zhandian+bb[1]+",";
						}
					document.getElementById("h_zhanweiG_B").value=h_zhandian;
					document.getElementById("zhanweiG_B").value=o_zhandian;
				  //window.alert(h_zhandian);
				  //window.alert(o_zhandian);
				 //分割returnvalue
				}
			if(id=="zhanweiG_C")	
				{
				 var aa = returnvalue.split(",");//切割逗号
					var h_zhandian="";//隐藏的站点
					var o_zhandian="";//暴露的站点
					for (var i=0;i<aa.length;i++)
					{
						var bb=aa[i].split(" ");
						h_zhandian=h_zhandian+bb[0]+",";
						o_zhandian=o_zhandian+bb[1]+",";
						}
					document.getElementById("h_zhanweiG_C").value=h_zhandian;
					document.getElementById("zhanweiG_C").value=o_zhandian;
				  //window.alert(h_zhandian);
				  //window.alert(o_zhandian);
				 //分割returnvalue
				}
				if(id=="zhanweiG_D")	
				{
				 var aa = returnvalue.split(",");//切割逗号
					var h_zhandian="";//隐藏的站点
					var o_zhandian="";//暴露的站点
					for (var i=0;i<aa.length;i++)
					{
						var bb=aa[i].split(" ");
						h_zhandian=h_zhandian+bb[0]+",";
						o_zhandian=o_zhandian+bb[1]+",";
						}
					document.getElementById("h_zhanweiG_D").value=h_zhandian;
					document.getElementById("zhanweiG_D").value=o_zhandian;
				  //window.alert(h_zhandian);
				  //window.alert(o_zhandian);
				 //分割returnvalue
				}	
				if(id=="zhanweiG_E")	
				{
				 var aa = returnvalue.split(",");//切割逗号
					var h_zhandian="";//隐藏的站点
					var o_zhandian="";//暴露的站点
					for (var i=0;i<aa.length;i++)
					{
						var bb=aa[i].split(" ");
						h_zhandian=h_zhandian+bb[0]+",";
						o_zhandian=o_zhandian+bb[1]+",";
						}
					document.getElementById("h_zhanweiG_E").value=h_zhandian;
					document.getElementById("zhanweiG_E").value=o_zhandian;
				  //window.alert(h_zhandian);
				  //window.alert(o_zhandian);
				 //分割returnvalue
				}	
				if(id=="zhanweiG_F")	
				{
				 var aa = returnvalue.split(",");//切割逗号
					var h_zhandian="";//隐藏的站点
					var o_zhandian="";//暴露的站点
					for (var i=0;i<aa.length;i++)
					{
						var bb=aa[i].split(" ");
						h_zhandian=h_zhandian+bb[0]+",";
						o_zhandian=o_zhandian+bb[1]+",";
						}
					document.getElementById("h_zhanweiG_F").value=h_zhandian;
					document.getElementById("zhanweiG_F").value=o_zhandian;
				  //window.alert(h_zhandian);
				  //window.alert(o_zhandian);
				 //分割returnvalue
				}	
			 }
	}

function cut_word(str, keyword) {
	var i = str.indexOf(keyword);
	var backword = str.substring(0, i);
	strword = str.substring(i + 1);
	return backword
}

function load_station(hangci) {
		var id;
		if (hangci == 'hangciA') {
			id = document.getElementById("hangciA").value;

			//window.alert("id="+id);
			if (id != -1 || id != "") {
				voyage.Ajax_station_load(id, checkerS_A);
			} else {
				for (k = document.getElementById("hangciA").children.length - 1; k >= 0; k--) {
					//remove all
					document.getElementById("hangciA").removeChild(
							document.getElementById("hangciA").children(0));
				}
				var varItem = new Option("选择站位", "");
				document.getElementById("hangciA").add(varItem);
			}

		}
		if (hangci == 'hangciB') {
			id = document.getElementById("hangciB").value;
			//window.alert("id="+id);

			if (id != -1 || id != "") {
				voyage.Ajax_station_load(id, checkerS_B);
			} else {
				for (k = document.getElementById("hangciB").children.length - 1; k >= 0; k--) {
					//remove all
					document.getElementById("hangciB").removeChild(
							document.getElementById("hangciB").children(0));
				}
				var varItem = new Option("选择站位", "");
				document.getElementById("hangciB").add(varItem);
			}

		}
		if (hangci == 'hangciC') {
			id = document.getElementById("hangciC").value;
			//window.alert("id="+id);

			if (id != -1 || id != "") {
				voyage.Ajax_station_load(id, checkerS_C);
			} else {
				for (k = document.getElementById("hangciC").children.length - 1; k >= 0; k--) {
					//remove all
					document.getElementById("hangciC").removeChild(
							document.getElementById("hangciC").children(0));
				}
				var varItem = new Option("选择站位", "");
				document.getElementById("hangciC").add(varItem);
			}

		}
		if (hangci == 'hangciD') {
			id = document.getElementById("hangciD").value;
			//window.alert("id="+id);

			if (id != -1 || id != "") {
				voyage.Ajax_station_load(id, checkerS_D);
			} else {
				for (k = document.getElementById("hangciD").children.length - 1; k >= 0; k--) {
					//remove all
					document.getElementById("hangciD").removeChild(
							document.getElementById("hangciD").children(0));
				}
				var varItem = new Option("选择站位", "");
				document.getElementById("hangciD").add(varItem);
			}

		}
		if (hangci == 'hangciE') {
			id = document.getElementById("hangciE").value;
			//window.alert("id="+id);

			if (id != -1 || id != "") {
				voyage.Ajax_station_load(id, checkerS_E);
			} else {
				for (k = document.getElementById("hangciE").children.length - 1; k >= 0; k--) {
					//remove all
					document.getElementById("hangciE").removeChild(
							document.getElementById("hangciE").children(0));
				}
				var varItem = new Option("选择站位", "");
				document.getElementById("hangciE").add(varItem);
			}

		}
		if (hangci == 'hangciF') {
			id = document.getElementById("hangciF").value;
			//window.alert("id="+id);

			if (id != -1 || id != "") {
				voyage.Ajax_station_load(id, checkerS_F);
			} else {
				for (k = document.getElementById("hangciF").children.length - 1; k >= 0; k--) {
					//remove all
					document.getElementById("hangciF").removeChild(
							document.getElementById("hangciF").children(0));
				}
				var varItem = new Option("选择站位", "");
				document.getElementById("hangciF").add(varItem);
			}

		}
	}

function checkerS_A(str) {

		/*for (k = document.getElementById("zhanweiA").children.length - 1; k >= 0; k--) {
			//remove all
			document.getElementById("zhanweiA").removeChild(
					document.getElementById("zhanweiA").children(0));
		}
		var varItem = new Option("选择站位", -1);
		document.getElementById("zhanweiA").add(varItem);
		strword = str;
		while (strword.indexOf(",") > 0) {
			var key = cut_word(strword, ",");
			var val = cut_word(strword, ",");
			var varItem = new Option(val, key);
			document.getElementById("zhanweiA").add(varItem);
		}*/
		document.getElementById("zhanweiA").options.length=0; 
	document.getElementById("zhanweiA").options.add(new Option("请选择","-1"));	
	strword = str;
	//window.alert("str-->"+str);
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		document.getElementById("zhanweiA").options.add(new Option(val,key));	
}
		
		
		
	}
function checkerS_B(str) {

		/*for (k = document.getElementById("zhanweiB").children.length - 1; k >= 0; k--) {
			//remove all
			document.getElementById("zhanweiB").removeChild(
					document.getElementById("zhanweiB").children(0));
		}
		var varItem = new Option("选择站位", -1);
		document.getElementById("zhanweiB").add(varItem);
		strword = str;
		while (strword.indexOf(",") > 0) {
			var key = cut_word(strword, ",");
			var val = cut_word(strword, ",");
			var varItem = new Option(val, key);
			document.getElementById("zhanweiB").add(varItem);
		}*/
			document.getElementById("zhanweiB").options.length=0; 
	document.getElementById("zhanweiB").options.add(new Option("请选择","-1"));	
	strword = str;
	//window.alert("str-->"+str);
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		document.getElementById("zhanweiB").options.add(new Option(val,key));	
}
	}

	function checkerS_C(str) {

	/*	for (k = document.getElementById("zhanweiC").children.length - 1; k >= 0; k--) {
			//remove all
			document.getElementById("zhanweiC").removeChild(
					document.getElementById("zhanweiC").children(0));
		}
		var varItem = new Option("选择站位", -1);
		document.getElementById("zhanweiC").add(varItem);
		strword = str;
		while (strword.indexOf(",") > 0) {
			var key = cut_word(strword, ",");
			var val = cut_word(strword, ",");
			var varItem = new Option(val, key);
			document.getElementById("zhanweiC").add(varItem);
		}
		*/
	document.getElementById("zhanweiC").options.length=0; 
	document.getElementById("zhanweiC").options.add(new Option("请选择","-1"));	
	strword = str;
	//window.alert("str-->"+str);
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		document.getElementById("zhanweiC").options.add(new Option(val,key));	
}
	}

	function checkerS_D(str) {

		/*for (k = document.getElementById("zhanweiD").children.length - 1; k >= 0; k--) {
			//remove all
			document.getElementById("zhanweiD").removeChild(
					document.getElementById("zhanweiD").children(0));
		}
		var varItem = new Option("选择站位", -1);
		document.getElementById("zhanweiD").add(varItem);
		strword = str;
		while (strword.indexOf(",") > 0) {
			var key = cut_word(strword, ",");
			var val = cut_word(strword, ",");
			var varItem = new Option(val, key);
			document.getElementById("zhanweiD").add(varItem);
		}*/
		document.getElementById("zhanweiD").options.length=0; 
	document.getElementById("zhanweiD").options.add(new Option("请选择","-1"));	
	strword = str;
	//window.alert("str-->"+str);
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		document.getElementById("zhanweiD").options.add(new Option(val,key));	
	}	
	}

	function checkerS_E(str) {

		/*for (k = document.getElementById("zhanweiE").children.length - 1; k >= 0; k--) {
			//remove all
			document.getElementById("zhanweiE").removeChild(
					document.getElementById("zhanweiE").children(0));
		}
		var varItem = new Option("选择站位", -1);
		document.getElementById("zhanweiE").add(varItem);
		strword = str;
		while (strword.indexOf(",") > 0) {
			var key = cut_word(strword, ",");
			var val = cut_word(strword, ",");
			var varItem = new Option(val, key);
			document.getElementById("zhanweiE").add(varItem);
		}*/
		document.getElementById("zhanweiE").options.length=0; 
	document.getElementById("zhanweiE").options.add(new Option("请选择","-1"));	
	strword = str;
	//window.alert("str-->"+str);
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		document.getElementById("zhanweiE").options.add(new Option(val,key));	
	}	
	}
	function checkerS_F(str) {

		/*for (k = document.getElementById("zhanweiF").children.length - 1; k >= 0; k--) {
			//remove all
			document.getElementById("zhanweiF").removeChild(
					document.getElementById("zhanweiF").children(0));
		}
		var varItem = new Option("选择站位", -1);
		document.getElementById("zhanweiF").add(varItem);
		strword = str;
		while (strword.indexOf(",") > 0) {
			var key = cut_word(strword, ",");
			var val = cut_word(strword, ",");
			var varItem = new Option(val, key);
			document.getElementById("zhanweiF").add(varItem);
		}*/
		document.getElementById("zhanweiF").options.length=0; 
	document.getElementById("zhanweiF").options.add(new Option("请选择","-1"));	
	strword = str;
	//window.alert("str-->"+str);
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		document.getElementById("zhanweiF").options.add(new Option(val,key));	
	}	
	}
	
function load_tools(toolname)
{
	var id;
	//window.alert("toolname="+toolname);
	if(toolname=="P_A")
	{
		id= document.getElementById("p_a").value;
		//window.alert("id-->"+id);
		if (id != -1||id!="") 
		{
			voyage.Ajax_tools_load(id, checkerP_A);
			}
			else
			{
				for (k = document.getElementById("PTOOL_A").children.length - 1; k >= 0; k--) {
			//remove all
			document.getElementById("PTOOL_A").removeChild(
					document.getElementById("PTOOL_A").children(0));
		}
		var varItem = new Option("选择传感器", "");
		document.getElementById("PTOOL_A").add(varItem);
				}
		}
		
		if(toolname=="P_B")
	{
		id= document.getElementById("p_b").value;
		//window.alert("id-->"+id);
		if (id != -1||id!="") 
		{
			voyage.Ajax_tools_load(id, checkerP_B);
			}
			else
			{
				for (k = document.getElementById("PTOOL_B").children.length - 1; k >= 0; k--) {
			//remove all
			document.getElementById("PTOOL_B").removeChild(
					document.getElementById("PTOOL_B").children(0));
		}
		var varItem = new Option("选择传感器", "");
		document.getElementById("PTOOL_B").add(varItem);
				}
		}
		
		if(toolname=="P_C")
	{
		id= document.getElementById("p_c").value;
		//window.alert("id-->"+id);
		if (id != -1||id!="") 
		{
			voyage.Ajax_tools_load(id, checkerP_C);
			}
			else
			{
				for (k = document.getElementById("PTOOL_C").children.length - 1; k >= 0; k--) {
			//remove all
			document.getElementById("PTOOL_C").removeChild(
					document.getElementById("PTOOL_C").children(0));
		}
		var varItem = new Option("选择传感器", "");
		document.getElementById("PTOOL_C").add(varItem);
				}
		}
		
		if(toolname=="P_D")
	{
		id= document.getElementById("p_d").value;
		//window.alert("id-->"+id);
		if (id != -1||id!="") 
		{
			voyage.Ajax_tools_load(id, checkerP_D);
			}
			else
			{
				for (k = document.getElementById("PTOOL_D").children.length - 1; k >= 0; k--) {
			//remove all
			document.getElementById("PTOOL_D").removeChild(
					document.getElementById("PTOOL_D").children(0));
		}
		var varItem = new Option("选择传感器", "");
		document.getElementById("PTOOL_D").add(varItem);
				}
		}
		
		
		if(toolname=="P_E")
	{
		id= document.getElementById("p_e").value;
		//window.alert("id-->"+id);
		if (id != -1||id!="") 
		{
			voyage.Ajax_tools_load(id, checkerP_E);
			}
			else
			{
				for (k = document.getElementById("PTOOL_E").children.length - 1; k >= 0; k--) {
			//remove all
			document.getElementById("PTOOL_E").removeChild(
					document.getElementById("PTOOL_E").children(0));
		}
		var varItem = new Option("选择传感器", "");
		document.getElementById("PTOOL_E").add(varItem);
				}
		}
		
		if(toolname=="P_F")
	{
		id= document.getElementById("p_f").value;
		//window.alert("id-->"+id);
		if (id != -1||id!="") 
		{
			voyage.Ajax_tools_load(id, checkerP_F);
			}
			else
			{
				for (k = document.getElementById("PTOOL_F").children.length - 1; k >= 0; k--) {
			//remove all
			document.getElementById("PTOOL_F").removeChild(
					document.getElementById("PTOOL_F").children(0));
		}
		var varItem = new Option("选择传感器", "");
		document.getElementById("PTOOL_F").add(varItem);
				}
		}
		
	}
	
function checkerP_A(str)
{
//window.alert("重新载入工具A的数据");
	/*for (k = document.getElementById("PTOOL_A").children.length - 1; k >= 0; k--) {
		//remove all
		document.getElementById("PTOOL_A").removeChild(	document.getElementById("PTOOL_A").children(0));	
	}
	var varItem = new Option("选择传感器", -1);
	document.getElementById("PTOOL_A").add(varItem);
	strword = str;
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		var varItem = new Option(val, key);
		document.getElementById("PTOOL_A").add(varItem);
	}*/
	document.getElementById("PTOOL_A").options.length=0; 
	document.getElementById("PTOOL_A").options.add(new Option("选择传感器","-1"));	
	strword = str;
	//window.alert("str-->"+str);
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		document.getElementById("PTOOL_A").options.add(new Option(val,key));	
	}	
}

function checkerP_B(str)
{
//window.alert("重新载入工具A的数据");
	/*for (k = document.getElementById("PTOOL_B").children.length - 1; k >= 0; k--) {
		//remove all
		document.getElementById("PTOOL_B").removeChild(	document.getElementById("PTOOL_B").children(0));	
	}
	var varItem = new Option("选择传感器", -1);
	document.getElementById("PTOOL_B").add(varItem);
	strword = str;
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		var varItem = new Option(val, key);
		document.getElementById("PTOOL_B").add(varItem);
	}*/
		document.getElementById("PTOOL_B").options.length=0; 
	document.getElementById("PTOOL_B").options.add(new Option("选择传感器","-1"));	
	strword = str;
	//window.alert("str-->"+str);
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		document.getElementById("PTOOL_B").options.add(new Option(val,key));	
	}	
}

function checkerP_C(str)
{
//window.alert("重新载入工具A的数据");
	/*for (k = document.getElementById("PTOOL_C").children.length - 1; k >= 0; k--) {
		//remove all
		document.getElementById("PTOOL_C").removeChild(	document.getElementById("PTOOL_C").children(0));	
	}
	var varItem = new Option("选择传感器", -1);
	document.getElementById("PTOOL_C").add(varItem);
	strword = str;
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		var varItem = new Option(val, key);
		document.getElementById("PTOOL_C").add(varItem);
	}*/
	document.getElementById("PTOOL_C").options.length=0; 
	document.getElementById("PTOOL_C").options.add(new Option("选择传感器","-1"));	
	strword = str;
	//window.alert("str-->"+str);
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		document.getElementById("PTOOL_C").options.add(new Option(val,key));	
	}	
}

function checkerP_D(str)
{
//window.alert("重新载入工具A的数据");
	/*for (k = document.getElementById("PTOOL_D").children.length - 1; k >= 0; k--) {
		//remove all
		document.getElementById("PTOOL_D").removeChild(	document.getElementById("PTOOL_D").children(0));	
	}
	var varItem = new Option("选择传感器", -1);
	document.getElementById("PTOOL_D").add(varItem);
	strword = str;
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		var varItem = new Option(val, key);
		document.getElementById("PTOOL_D").add(varItem);
	}*/
	document.getElementById("PTOOL_D").options.length=0; 
	document.getElementById("PTOOL_D").options.add(new Option("选择传感器","-1"));	
	strword = str;
	//window.alert("str-->"+str);
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		document.getElementById("PTOOL_D").options.add(new Option(val,key));	
	}	
}

function checkerP_E(str)
{
//window.alert("重新载入工具A的数据");
	/*for (k = document.getElementById("PTOOL_E").children.length - 1; k >= 0; k--) {
		//remove all
		document.getElementById("PTOOL_E").removeChild(	document.getElementById("PTOOL_E").children(0));	
	}
	var varItem = new Option("选择传感器", -1);
	document.getElementById("PTOOL_E").add(varItem);
	strword = str;
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		var varItem = new Option(val, key);
		document.getElementById("PTOOL_E").add(varItem);
	}*/
	document.getElementById("PTOOL_E").options.length=0; 
	document.getElementById("PTOOL_E").options.add(new Option("选择传感器","-1"));	
	strword = str;
	//window.alert("str-->"+str);
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		document.getElementById("PTOOL_E").options.add(new Option(val,key));	
	}	
}

function checkerP_F(str)
{
//window.alert("重新载入工具A的数据");
	/*for (k = document.getElementById("PTOOL_F").children.length - 1; k >= 0; k--) {
		//remove all
		document.getElementById("PTOOL_F").removeChild(	document.getElementById("PTOOL_F").children(0));	
	}
	var varItem = new Option("选择传感器", -1);
	document.getElementById("PTOOL_F").add(varItem);
	strword = str;
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		var varItem = new Option(val, key);
		document.getElementById("PTOOL_F").add(varItem);
	}*/
	document.getElementById("PTOOL_F").options.length=0; 
	document.getElementById("PTOOL_F").options.add(new Option("选择传感器","-1"));	
	strword = str;
	//window.alert("str-->"+str);
	while (strword.indexOf(",") > 0) {
		var key = cut_word(strword, ",");
		var val = cut_word(strword, ",");
		document.getElementById("PTOOL_F").options.add(new Option(val,key));	
	}	
}
	
	function submit_me()
{
	var fun=document.getElementsByName("function");
	var c_fun="";
	//window.alert("fun="+fun.length);//获取数据的值
	for(var i=0;i<fun.length;i++)
	{
		if(fun[i].checked==true)
		{
			//window.alert(fun[i].value);
			c_fun=fun[i].value;
			break;
			}
		}
	if(c_fun=="")
	{
		window.alert("请在 单一站点,单一层深,单一属性中选择一种功能~");
		return false;
		}
		var kekaoA=document.getElementById("kekaoA").value;
		var kekaoB=document.getElementById("kekaoB").value;
		var kekaoC=document.getElementById("kekaoC").value;
		var kekaoD=document.getElementById("kekaoD").value;
		var kekaoE=document.getElementById("kekaoE").value;
		var kekaoF=document.getElementById("kekaoF").value;
	if(kekaoA==""&&kekaoB==""&&kekaoC==""&&kekaoD==""&&kekaoE==""&&kekaoF=="")	
	{
		window.alert("必须激活一个查询条件模块!");
		return false;
		}
	if(kekaoA=="")
	{
		window.alert("比较查询中,首个数据模块必须填写!");
		return false;
		
		}
		
	if(kekaoA!="")
		{
			var hangciA=document.getElementById("hangciA").value;
			var zhanweiA=document.getElementById("zhanweiA").value;
			var zhanweiG_A=document.getElementById("zhanweiG_A").value;
			var depA=document.getElementById("depA").value;
			var p_a=document.getElementById("p_a").value;
			var PTOOL_A=document.getElementById("PTOOL_A").value;
			var MIN_A=document.getElementById("MIN_A").value;
			var MAX_A=document.getElementById("MAX_A").value;
			//window.alert("hangciA="+hangciA);
			if(hangciA=="-1"||hangciA==-1)
			{
				hangciA=="";
				}
			//window.alert("zhanweiA="+zhanweiA);
			//window.alert("zhanweiG_A="+zhanweiG_A);
			
			if(hangciA==""||hangciA=="-1"||hangciA==-1)
			{
				window.alert("请定义航次!==>A模块");
				return false;
				}
			if(zhanweiA=="-1"||zhanweiA==-1||zhanweiA=="")
			{
				zhanweiA=="";
				}
			//window.alert("zhanweiA="+zhanweiA);
			if((zhanweiA==""&&zhanweiG_A=="")||(zhanweiA=="-1"&&zhanweiG_A==""))
			{
				window.alert("请定义站位!==>A模块");
				return false;
				}
			//if(c_fun=="B"||c_fun=="C")
			//{
			//	window.alert("选择了B和C模式 zhanweiG_A="+zhanweiG_A);
			//}
			if(depA=="")
			{
				window.alert("请定义深度!==>A模块");
				return false;
				}
				if(p_a=="")
			{
				window.alert("请定义属性!==>A模块");
				return false;
				}
				if(PTOOL_A==""||PTOOL_A=="-1"||PTOOL_A==-1)
			{
				window.alert("请定属性工具!==>A模块");
				return false;
				}
			
			
		}
	if(kekaoB!="")
		{
			//window.alert("启用了kekaoB模块");
			var hangciB=document.getElementById("hangciB").value;
			var zhanweiB=document.getElementById("zhanweiB").value;
			var zhanweiG_B=document.getElementById("zhanweiG_B").value;
			var depB=document.getElementById("depB").value;
			var p_b=document.getElementById("p_b").value;
			var PTOOL_B=document.getElementById("PTOOL_B").value;
			var MIN_B=document.getElementById("MIN_B").value;
			var MAX_B=document.getElementById("MAX_B").value;
			if(hangciB=="-1"||hangciB==-1)
			{
				window.alert("请定义航次!==>B模块");
				return false;
				}
			if(zhanweiB==""&&zhanweiG_B==""&&c_fun!="A")
			{
				window.alert("请定义站位!!==>B模块");
				return false;
			}
			if((zhanweiB==""&&zhanweiG_B==""&&c_fun!="A")||(zhanweiB=="-1"&&zhanweiG_B==""&&c_fun!="A"))
			{
				window.alert("请定义站位!==>B模块");
				return false;
			}
			
			
			//window.alert("dep_B"+depB+"FUN="+c_fun);
				if(depB==""&&c_fun!="B")
			{
				window.alert("请定义深度!!==>B模块");
				return false;
				}
				if(p_b==""&&c_fun!="C")
			{
				window.alert("请定义属性!!==>B模块");
				return false;
				}
			
				if((PTOOL_B==""||PTOOL_B=="-1"||PTOOL_B==-1)&&c_fun!="C")
			{
				window.alert("请定属性工具!!==>B模块");
				return false;
				}
		}
		if(kekaoC!="")
		{
			//window.alert("启用了kekaoC模块");
			var hangciC=document.getElementById("hangciC").value;
			var zhanweiC=document.getElementById("zhanweiC").value;
			var zhanweiG_C=document.getElementById("zhanweiG_C").value;
			var depC=document.getElementById("depC").value;
			var p_c=document.getElementById("p_c").value;
			var PTOOL_C=document.getElementById("PTOOL_C").value;
			var MIN_C=document.getElementById("MIN_C").value;
			var MAX_C=document.getElementById("MAX_C").value;
			if(hangciC=="-1"||hangciC==-1)
			{
				window.alert("请定义航次!!==>C模块");
				return false;
				}
			if(zhanweiC==""&&zhanweiG_C==""&&c_fun!="A")
			{
				window.alert("请定义站位!==>C模块");
				return false;
				}
			if((zhanweiC==""&&zhanweiG_C==""&&c_fun!="A")||(zhanweiC=="-1"&&zhanweiG_C==""&&c_fun!="A"))
			{
				window.alert("请定义站位!==>C模块");
				return false;
			}
				if(depC==""&&c_fun!="B")
			{
				window.alert("请定义深度!==>C模块");
				return false;
				}
				if(p_c==""&&c_fun!="C")
			{
				window.alert("请定义属性!==>C模块");
				return false;
				}
				if((PTOOL_C==""||PTOOL_C=="-1"||PTOOL_C==-1)&&c_fun!="C")
			{
				window.alert("请定属性工具!==>C模块");
				return false;
				}
		}
		if(kekaoD!="")
		{
			//window.alert("启用了kekaoD模块");
			var hangciD=document.getElementById("hangciD").value;
			var zhanweiD=document.getElementById("zhanweiD").value;
			var zhanweiG_D=document.getElementById("zhanweiG_D").value;
			var depD=document.getElementById("depD").value;
			var p_d=document.getElementById("p_d").value;
			var PTOOL_D=document.getElementById("PTOOL_D").value;
			var MIN_D=document.getElementById("MIN_D").value;
			var MAX_D=document.getElementById("MAX_D").value;
			if(hangciD=="-1"||hangciD==-1)
			{
				window.alert("请定义航次!==>D模块");
				return false;
				}
			if(zhanweiD==""&&zhanweiG_D==""&&c_fun!="A")
			{
				window.alert("请定义站位!==>D模块");
				return false;
				}
			if((zhanweiD==""&&zhanweiG_D==""&&c_fun!="A")||(zhanweiD=="-1"&&zhanweiG_D==""&&c_fun!="A"))
			{
				window.alert("请定义站位!==>D模块");
				return false;
			}
			if(depD==""&&c_fun!="B")
			{
				window.alert("请定义深度!==>D模块");
				return false;
				}
			if(p_d==""&&c_fun!="C")
			{
				window.alert("请定义属性!==>D模块");
				return false;
				}
				if((TOOL_D==""||PTOOL_D=="-1"||PTOOL_D==-1)&&c_fun!="C")
			{
				window.alert("请定属性工具!==>D模块");
				return false;
				}
		}
		if(kekaoE!="")
		{
			//window.alert("启用了kekaoE模块");
			var hangciE=document.getElementById("hangciE").value;
			var zhanweiE=document.getElementById("zhanweiE").value;
			var zhanweiG_E=document.getElementById("zhanweiG_E").value;
			var depE=document.getElementById("depE").value;
			var p_e=document.getElementById("p_e").value;
			var PTOOL_E=document.getElementById("PTOOL_E").value;
			var MIN_E=document.getElementById("MIN_E").value;
			var MAX_E=document.getElementById("MAX_E").value;
			if(hangciE=="-1"||hangciE==-1)
			{
				window.alert("请定义航次!==>E模块");
				return false;
				}
			if(zhanweiE==""&&zhanweiG_E==""&&c_fun!="A")
			{
				window.alert("请定义站位!==>E模块");
				return false;
				}
			if((zhanweiE==""&&zhanweiG_E==""&&c_fun!="A")||(zhanweiE=="-1"&&zhanweiG_E==""&&c_fun!="A"))
			{
				window.alert("请定义站位!==>E模块");
				return false;
			}
				if(depE==""&&c_fun!="B")
			{
				window.alert("请定义深度!==>E模块");
				return false;
				}
				if(p_e=="")
			{
				window.alert("请定义属性!==>E模块");
				return false;
				}
				if(PTOOL_E==""||PTOOL_E=="-1"||PTOOL_E==-1)
			{
				window.alert("请定属性工具!==>E模块");
				return false;
				}
		}
		if(kekaoF!="")
		{
			//window.alert("启用了kekaoF模块");
			var hangciF=document.getElementById("hangciF").value;
			var zhanweiF=document.getElementById("zhanweiF").value;
			var zhanweiG_F=document.getElementById("zhanweiG_F").value;
			var depF=document.getElementById("depF").value;
			var p_f=document.getElementById("p_f").value;
			var PTOOL_F=document.getElementById("PTOOL_F").value;
			var MIN_F=document.getElementById("MIN_F").value;
			var MAX_F=document.getElementById("MAX_F").value;
			if(hangciF=="-1"||hangciF==-1)
			{
				window.alert("请定义航次!");
				return false;
				}
			if(zhanweiF==""&&zhanweiG_F==""&&c_fun!="A")
			{
				window.alert("请定义站位!==>F模块");
				return false;
				}
			if((zhanweiF==""&&zhanweiG_F==""&&c_fun!="A")||(zhanweiF=="-1"&&zhanweiG_F==""&&c_fun!="A"))
			{
				window.alert("请定义站位!==>F模块");
				return false;
			}
				if(depF==""&&c_fun!="B")
			{
				window.alert("请定义深度!==>F模块");
				return false;
				}
				if(p_f==""&&c_fun!="C")
			{
				window.alert("请定义属性!==>F模块");
				return false;
				}
				if((PTOOL_F==""||PTOOL_F=="-1"||PTOOL_F==-1)&&c_fun!="C")
			{
				window.alert("请定属性工具!==>F模块");
				return false;
				}
		}
	var obj= window.confirm("是否提交比较查询的数据?");
	if (obj==true)
	{
		document.getElementById("form_c").submit();
	}
	}
</script>
	<script type="text/javascript" src="dwr/engine.js">
</script>
	<script type="text/javascript" src="dwr/util.js">
</script>
	<script type="text/javascript" src="dwr/interface/voyage.js">
</script>
</head>
<html>
	<body onload="init_page()">
		

<%@ include file="top.jsp"%>


<div class="comparebox">
 <div class="wzz"><a href="index.jsp">首页</a>&gt;<a href="search.jsp">海洋环境数据库查询</a>&gt;对比查询</div>
 <div class="xzzbox">



<div class="xztitle" align="center"><img src="images/compare_03.jpg" alt="" /></div>

 <div class="xznei">


		<form name="form_c" id="form_c" method="post" target="_blank"
			action="<%=request.getContextPath()%>/CompareSearch.do?method=CompareSearch">
			<table width="900" border="0" align="center" cellpadding="1" cellspacing="1">
				<tr>
					<td colspan="6">
						<input name="function" type="radio" id="radio4"
							onclick="switch_function(1)" value="A" />
						选择单一站点
					  <input type="radio" name="function" id="radio5" value="B"
							onclick="switch_function(2)" />
						选择单一层深
						<input type="radio" name="function" id="radio6" value="C"
							onclick="switch_function(3)" />
						选择单一属性 (当选择单一站点时，数据库将匹配站点的经纬度来验证是否是同一个站点,与各航次中的实际站点名称无关)
					</td>
				</tr>
				<tr>
					<td width="196">
					
					
					
					<div class="yww yanse">
					
						<table width="150" border="0" cellpadding="1" cellspacing="1">
							<tr>
								<td>
									<select name="kekaoA" id="kekaoA"
										onchange="load_voyage('kekaoA')">
										<option value="">
											选择科考船
										</option>
										<%
								for (int i = 0; i < oc_boatlist.size(); i++) {
							%>
										<option value="<%=oc_boatlist.get(i).getId()%>"><%=oc_boatlist.get(i).getOc_boatname()%></option>

										<%
								}
							%>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									<select name="hangciA" id="hangciA"
										onchange="load_station('hangciA')">
										<option value="">
											选择航次
										</option>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									<select name="zhanweiA" id="zhanweiA">
										<option value="">
											选择站位
										</option>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									多选站位
								</td>
							</tr>
							<tr>
								<td>
									<textarea name="zhanweiG_A" readonly="readonly" id="zhanweiG_A"
										cols="15" rows="5" onclick="select_zhandian('zhanweiG_A')"></textarea>
								</td>
							</tr>
							<tr>
								<td>
									<select name="depA" id="depA">
										<option value="">
											选择深度
										</option>
										<%
								for (int i = 0; i < oc_depthlist.size(); i++) {
							%>
										<option value="<%=oc_depthlist.get(i).getId()%>"><%=oc_depthlist.get(i).getDepth()+"(m)"%></option>

										<%
								}
							%>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									<select name="p_a" id="p_a" onchange="load_tools('P_A')">
										<option value="">
											选择属性
										</option>
										<%
								for (int i = 0; i < oc_property.size(); i++) {
							%><option value="<%=oc_property.get(i).getId()%>">
											<%=oc_property.get(i).getProperty_name()%>
										</option>
										<%}%>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									<select name="PTOOL_A" id="PTOOL_A">
										<option value="">
											选择传感器(默认)
										</option>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									最小值
									<input name="MIN_A" type="text" id="MIN_A" size="5" onkeyup ="this . value=this.value.replace(/\D/g,'') " 
										   				onafterpaste ="this.value=this .value.replace(/\D/g,'') "  />
								</td>
							</tr>
							<tr>
								<td>
									最大值
									<input name="MAX_A" type="text" id="MAX_A" size="5" onkeyup ="this . value=this.value.replace(/\D/g,'') " 
										   				onafterpaste ="this.value=this .value.replace(/\D/g,'') "  />
								</td>
							</tr>
						</table>
</div>






					  <input type="hidden" name="h_zhanweiG_A" id="h_zhanweiG_A"/>
						<input type="hidden" name="h_zhanweiG_B" id="h_zhanweiG_B"/>
						<input type="hidden" name="h_zhanweiG_C" id="h_zhanweiG_C"/>
						<input type="hidden" name="h_zhanweiG_D" id="h_zhanweiG_D"/>
						<input type="hidden" name="h_zhanweiG_E" id="h_zhanweiG_E"/>
						<input type="hidden" name="h_zhanweiG_F" id="h_zhanweiG_F"/>
					</td>
					<td width="196">
					
					
					
					<div class="yww yanse">
					  <table width="150" border="0" cellpadding="1" cellspacing="1">
							<tr>
								<td>
									<select name="kekaoB" id="kekaoB"
										onchange="load_voyage('kekaoB')">
										<option value="">
											选择科考船
										</option>
										<%
								for (int i = 0; i < oc_boatlist.size(); i++) {
							%>
										<option value="<%=oc_boatlist.get(i).getId()%>"><%=oc_boatlist.get(i).getOc_boatname()%></option>

										<%
								}
							%>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									<select name="hangciB" id="hangciB"
										onchange="load_station('hangciB')">
										<option value="">
											选择航次
										</option>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									<select name="zhanweiB" id="zhanweiB">
										<option value="">
											选择站位
										</option>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									多选站位
								</td>
							</tr>
							<tr>
								<td>
									<textarea name="zhanweiG_B" readonly="readonly" id="zhanweiG_B"
										cols="15" rows="5" onclick="select_zhandian('zhanweiG_B')"></textarea>
								</td>
							</tr>
							<tr>
								<td>
									<select name="depB" id="depB">
										<option value="">
											选择深度
										</option>
										<%
								for (int i = 0; i < oc_depthlist.size(); i++) {
							%>
										<option value="<%=oc_depthlist.get(i).getId()%>"><%=oc_depthlist.get(i).getDepth()+"(m)"%></option>

										<%
								}
							%>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									<select name="p_b" id="p_b" onchange="load_tools('P_B')">
										<option value="">
											选择属性
										</option>
										<%
								for (int i = 0; i < oc_property.size(); i++) {
							%>
										<option value="<%=oc_property.get(i).getId()%>">
											<%=oc_property.get(i).getProperty_name()%>
										</option>
										<%}%>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									<select name="PTOOL_B" id="PTOOL_B">
										<option value="">
											选择传感器(默认)
										</option>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									最小值
									<input name="MIN_B" type="text" id="MIN_B" size="5" onkeyup ="this . value=this.value.replace(/\D/g,'') " 
										   				onafterpaste ="this.value=this .value.replace(/\D/g,'') "  />
								</td>
							</tr>
							<tr>
								<td>
									最大值
									<input name="MAX_B" type="text" id="MAX_B" size="5" onkeyup ="this . value=this.value.replace(/\D/g,'') " 
										   				onafterpaste ="this.value=this .value.replace(/\D/g,'') " />
								</td>
							</tr>
						</table>
						</div>
						
						
						
						
					</td>
					<td width="196">
					
					
					
					<div class="yww yanse">
					  <table width="150" border="0" cellpadding="1" cellspacing="1">
							<tr>
								<td>
									<select name="kekaoC" id="kekaoC"
										onchange="load_voyage('kekaoC')">
										<option value="">
											选择科考船
										</option>
										<%
								for (int i = 0; i < oc_boatlist.size(); i++) {
							%>
										<option value="<%=oc_boatlist.get(i).getId()%>"><%=oc_boatlist.get(i).getOc_boatname()%></option>

										<%
								}
							%>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									<select name="hangciC" id="hangciC"
										onchange="load_station('hangciC')">
										<option value="">
											选择航次
										</option>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									<select name="zhanweiC" id="zhanweiC">
										<option value="">
											选择站位
										</option>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									多选站位
								</td>
							</tr>
							<tr>
								<td>
									<textarea name="zhanweiG_C" id="zhanweiG_C" readonly="readonly"
										cols="15" rows="5" onclick="select_zhandian('zhanweiG_C')"></textarea>
								</td>
							</tr>
							<tr>
								<td>
									<select name="depC" id="depC">
										<option value="">
											选择深度
										</option>
										<%
								for (int i = 0; i < oc_depthlist.size(); i++) {
							%>
										<option value="<%=oc_depthlist.get(i).getId()%>"><%=oc_depthlist.get(i).getDepth()+"(m)"%></option>

										<%
								}
							%>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									<select name="p_c" id="p_c" onchange="load_tools('P_C')">
										<option value="">
											选择属性
										</option>
										<%
								for (int i = 0; i < oc_property.size(); i++) {
							%>
										<option value="<%=oc_property.get(i).getId()%>">
											<%=oc_property.get(i).getProperty_name()%></option>
										<%}%>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									<select name="PTOOL_C" id="PTOOL_C">
										<option value="">
											选择传感器(默认)
										</option>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									最小值
									<input name="MIN_C" type="text" id="MIN_C" size="5" onkeyup ="this . value=this.value.replace(/\D/g,'') " 
										   				onafterpaste ="this.value=this .value.replace(/\D/g,'') " />
								</td>
							</tr>
							<tr>
								<td>
									最大值
									<input name="MAX_C" type="text" id="MAX_C" size="5" onkeyup ="this . value=this.value.replace(/\D/g,'') " 
										   				onafterpaste ="this.value=this .value.replace(/\D/g,'') " />
								</td>
							</tr>
						</table>
						</div>
						
						
						
						
					</td>
					<td width="196">
					
					
					
					<div class="yww yanse">
					  <table width="150" border="0" cellpadding="1" cellspacing="1">
							<tr>
								<td><select name="kekaoD" id="kekaoD"
										onchange="load_voyage('kekaoD')">
								  <option value=""> 选择科考船 </option>
								  <%
								for (int i = 0; i < oc_boatlist.size(); i++) {
							%>
								  <option value="<%=oc_boatlist.get(i).getId()%>"><%=oc_boatlist.get(i).getOc_boatname()%></option>
								  <%
								}
							%>
							    </select></td>
							</tr>
							<tr>
								<td>
									<select name="hangciD" id="hangciD"
										onchange="load_station('hangciD')">
										<option value="">
											选择航次
										</option>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									<select name="zhanweiD" id="zhanweiD">
										<option value="">
											选择站位
										</option>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									多选站位
								</td>
							</tr>
							<tr>
								<td>
									<textarea name="zhanweiG_D" id="zhanweiG_D" cols="15"
										readonly="readonly" rows="5"
										onclick="select_zhandian('zhanweiG_D')"></textarea>
								</td>
							</tr>
							<tr>
								<td>
									<select name="depD" id="depD">
										<option value="">
											选择深度
										</option>
										<%
								for (int i = 0; i < oc_depthlist.size(); i++) {
							%>
										<option value="<%=oc_depthlist.get(i).getId()%>"><%=oc_depthlist.get(i).getDepth()+"(m)"%></option>

										<%
								}
							%>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									<select name="p_d" id="p_d" onchange="load_tools('P_D')">
										<option value="">
											选择属性
										</option>
										<%
								for (int i = 0; i < oc_property.size(); i++) {
							%>
										<option value="<%=oc_property.get(i).getId()%>">
											<%=oc_property.get(i).getProperty_name()%></option>
										<%}%>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									<select name="PTOOL_D" id="PTOOL_D">
										<option value="">
											选择传感器(默认)
										</option>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									最小值
									<input name="MIN_D" type="text" id="MIN_D" size="5" onkeyup ="this . value=this.value.replace(/\D/g,'') " 
										   				onafterpaste ="this.value=this .value.replace(/\D/g,'') " />
								</td>
							</tr>
							<tr>
								<td>
									最大值
									<input name="MAX_D" type="text" id="MAX_D" size="5" onkeyup ="this . value=this.value.replace(/\D/g,'') " 
										   				onafterpaste ="this.value=this .value.replace(/\D/g,'') " />
								</td>
							</tr>
						</table>
						</div>
						
						
						
						
				  </td>
					<td width="196">
					
					
					
					
					<div class="yww yanse">
					  <table width="150" border="0" cellpadding="1" cellspacing="1">
							<tr>
								<td>
									<select name="kekaoE" id="kekaoE"
										onchange="load_voyage('kekaoE')">
										<option value="">
											选择科考船
										</option>
										<%
								for (int i = 0; i < oc_boatlist.size(); i++) {
							%>
										<option value="<%=oc_boatlist.get(i).getId()%>"><%=oc_boatlist.get(i).getOc_boatname()%></option>

										<%
								}
							%>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									<select name="hangciE" id="hangciE"
										onchange="load_station('hangciE')">
										<option value="">
											选择航次
										</option>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									<select name="zhanweiE" id="zhanweiE">
										<option value="">
											选择站位
										</option>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									多选站位
								</td>
							</tr>
							<tr>
								<td>
									<textarea name="zhanweiG_E" id="zhanweiG_E" cols="15" rows="5"
										readonly="readonly" onclick="select_zhandian('zhanweiG_E')"></textarea>
								</td>
							</tr>
							<tr>
								<td>
									<select name="depE" id="depE">
										<option value="">
											选择深度
										</option>
										<%
								for (int i = 0; i < oc_depthlist.size(); i++) {
							%>
										<option value="<%=oc_depthlist.get(i).getId()%>"><%=oc_depthlist.get(i).getDepth()+"(m)"%></option>

										<%
								}
							%>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									<select name="p_e" id="p_e" onchange="load_tools('P_E')">
										<option value="">
											选择属性
										</option>
										<%
								for (int i = 0; i < oc_property.size(); i++) {
							%>
										<option value="<%=oc_property.get(i).getId()%>">
											<%=oc_property.get(i).getProperty_name()%>
										</option>
										<%}%>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									<select name="PTOOL_E" id="PTOOL_E">
										<option value="">
											选择传感器(默认)
										</option>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									最小值
									<input name="MIN_E" type="text" id="MIN_E" size="5" onkeyup ="this . value=this.value.replace(/\D/g,'') " 
										   				onafterpaste ="this.value=this .value.replace(/\D/g,'') " />
								</td>
							</tr>
							<tr>
								<td>
									最大值
									<input name="MAX_E" type="text" id="MAX_E" size="5" onkeyup ="this . value=this.value.replace(/\D/g,'') " 
										   				onafterpaste ="this.value=this .value.replace(/\D/g,'') " />
								</td>
							</tr>
						</table>
						</div>
						
						
						
					</td>
					<td width="227">
					
					
					
					<div class="yww yanse">
					  <table width="150" border="0" cellpadding="1" cellspacing="1">
							<tr>
								<td>
									<select name="kekaoF" id="kekaoF"
										onchange="load_voyage('kekaoF')">
										<option value="">
											选择科考船
										</option>
										<%
								for (int i = 0; i < oc_boatlist.size(); i++) {
							%>
										<option value="<%=oc_boatlist.get(i).getId()%>"><%=oc_boatlist.get(i).getOc_boatname()%></option>

										<%
								}
							%>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									<select name="hangciF" id="hangciF"
										onchange="load_station('hangciF')">
										<option value="">
											选择航次
										</option>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									<select name="zhanweiF" id="zhanweiF">
										<option value="">
											选择站位
										</option>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									多选站位
								</td>
							</tr>
							<tr>
								<td>
									<textarea name="zhanweiG_F" id="zhanweiG_F" cols="15" rows="5"
										readonly="readonly" onclick="select_zhandian('zhanweiG_F')"></textarea>
								</td>
							</tr>
							<tr>
								<td>
									<select name="depF" id="depF">
										<option value="">
											选择深度
										</option>
										<%
								for (int i = 0; i < oc_depthlist.size(); i++) {
							%>
										<option value="<%=oc_depthlist.get(i).getId()%>"><%=oc_depthlist.get(i).getDepth()+"(m)"%></option>

										<%
								}
							%>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									<select name="p_f" id="p_f" onchange="load_tools('P_F')">
										<option value="">
											选择属性
										</option>
										<%
								for (int i = 0; i < oc_property.size(); i++) {
							%>
										<option value="<%=oc_property.get(i).getId()%>">
											<%=oc_property.get(i).getProperty_name()%>
										</option>
										<%}%>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									<select name="PTOOL_F" id="PTOOL_F">
										<option value="">
											选择传感器(默认)
										</option>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									最小值
									<input name="MIN_F" type="text" id="MIN_F" size="5" onkeyup ="this . value=this.value.replace(/\D/g,'') " 
										   				onafterpaste ="this.value=this .value.replace(/\D/g,'') " />
								</td>
							</tr>
							<tr>
								<td>
									最大值
									<input name="MAX_F" type="text" id="MAX_F" size="5" onkeyup ="this . value=this.value.replace(/\D/g,'') " 
										   				onafterpaste ="this.value=this .value.replace(/\D/g,'') " />
								</td>
							</tr>
						</table>
						</div>
						
						
						
					</td>
				</tr>
				<tr>
					<td colspan="6" align="center">
					
					
					<div class="ann"><input class="comparexz" name="button" type="button" id="button" onclick="submit_me()"/> 　　 <input name="button" type="button" class="compareqb" id="button" onclick="reset_me()"/>
 
</div>
					
					
					
					<!--  	<input type="button"  name="button" id="button"
							value="提    交   数    据" onclick="submit_me()"/> <img onclick="submit_me()" src="images/compare_17.jpg" alt="提    交   数    据" />
					<input type="button" name="button2" id="button2"
							value="返    回   前    页" />-->
							
							
							
							</td>
				</tr>
			</table>

		</form>
		
</div>
</div>
</div>
	<%@ include file="footer.jsp"%>
	</body>
</html>